import request from '@/utils/request'

export function getConfig() {
  return request({
    url: '/parking/config',
    method: 'get'
  })
}

export function editConfig(data) {
  return request({
    url: '/parking/config',
    method: 'put',
    data: data
  })
}
